const less = require('less')

function loader(source){
  let css;
  less.render(source,function(err,less){
    css = less.css
  })
  return css
}

module.exports = loader